package com.htpro.service.impl;

import com.htpro.mapper.TypefMapper;
import com.htpro.mapper.UserinfoMapper;
import com.htpro.pojo.Userinfo;
import com.htpro.service.UserinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserinfoServiceImpl implements UserinfoService {
    @Autowired
    private UserinfoMapper uim;

    @Override
    public Userinfo selectUserinfo(Integer uid) {
        return uim.selectUserinfo(uid);
    }

    @Override
    public int updateUserinfo(Userinfo Userinfo) {
        return uim.updateUserinfo(Userinfo);
    }
}
